package cn.zyjw.service;

import cn.zyjw.domain.SysPrivilege;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface SysPrivilegeService extends IService<SysPrivilege>{


    /**
     *  获取菜单下的权限列表
     * @param menuId
     * @param roleId
     * @return
     */
    List<SysPrivilege> getPrivileges(Long menuId, Long roleId);
}
